package com.homemanager.entities;

import java.util.Currency;
import java.util.Date;

/**
 * Created by Valiantsin_Vlasau on 6/19/13.
 */
public class Operation extends DatabaseObject {
    private Date operationDate;
    private Category operationCategory;
    private Currency operationCurrency;
    private String description;

    public Date getOperationDate() {
        return operationDate;
    }

    public void setOperationDate(Date operationDate) {
        this.operationDate = operationDate;
    }

    public Category getOperationCategory() {
        return operationCategory;
    }

    public void setOperationCategory(Category operationCategory) {
        this.operationCategory = operationCategory;
    }

    public Currency getOperationCurrency() {
        return operationCurrency;
    }

    public void setOperationCurrency(Currency operationCurrency) {
        this.operationCurrency = operationCurrency;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Operation(Date operationDate, Category operationCategory, Currency operationCurrency, String description) {

        this.operationDate = operationDate;
        this.operationCategory = operationCategory;
        this.operationCurrency = operationCurrency;
        this.description = description;
    }

    public Operation(Date operationDate, Category operationCategory, Currency operationCurrency) {

        this.operationDate = operationDate;
        this.operationCategory = operationCategory;
        this.operationCurrency = operationCurrency;
    }
}
